package com.momo.hotel.service;

import com.momo.hotel.dao.pojo.TbEvaluation;
import com.momo.hotel.dao.pojo.ext.TbEvaluationExt;

import java.util.List;

public interface EvaluationService {


    /**
     * 添加评价
     * @param tbEvaluation
     * @return
     */
    Integer addEvaluation(TbEvaluation tbEvaluation);
    /**
     * 获取评价
     * @param roomId
     * @return
     */
    List<TbEvaluationExt> selectEvaluationById(Integer roomId);



}
